package org.jeecg.modules.bobo.common.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 字典项
 * @Author: jeecg-boot
 * @Date:   2020-11-24
 * @Version: V1.0
 */
@Data
@TableName("lb_dict_item")
@ApiModel(value="lb_dict对象", description="字典")
public class LbDictItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "id")
	private String id;
	/**字典id*/
	@ApiModelProperty(value = "字典id")
	private String dictId;
	/**字典项文本*/
	@Excel(name = "字典项文本", width = 15)
	@ApiModelProperty(value = "字典项文本")
	private String itemText;
	/**字典项值*/
	@Excel(name = "字典项值", width = 15)
	@ApiModelProperty(value = "字典项值")
	private String itemValue;
	/**描述*/
	@Excel(name = "描述", width = 15)
	@ApiModelProperty(value = "描述")
	private String description;
	/**排序*/
	@Excel(name = "排序", width = 15)
	@ApiModelProperty(value = "排序")
	private Integer sortOrder;
	/**状态（1启用 0不启用）*/
	@Excel(name = "状态（1启用 0不启用）", width = 15)
	@ApiModelProperty(value = "状态（1启用 0不启用）")
	private Integer status;
	/**createBy*/
	@ApiModelProperty(value = "createBy")
	private String createBy;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "createTime")
	private Date createTime;
	/**updateBy*/
	@ApiModelProperty(value = "updateBy")
	private String updateBy;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "updateTime")
	private Date updateTime;
}
